package com.example.demo.app.model;

import com.example.demo.app.validate.SexValid;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class User {
	
	private String userName;
	private String password;
	private String email;
	
	@SexValid
	private Integer sex;

	@Override
	public String toString() {
		return "User [userName=" + userName + ", password=" + password + ", email=" + email + ", sex=" + sex + "]";
	}
	
	
}


